package city.spring.modules.medicalstation.drugdeposit.repository;

import city.spring.modules.medicalstation.drugdeposit.entity.DrugdepositEntity;
import city.spring.modules.medicalstation.drugdeposit.vo.DrugdepositVO;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 存储库：医护站药品缴存
 *
 * @author 谢金婷
 * @date 2020-10-13 11:44:37
 */
@Repository
public interface DrugdepositRepository extends BaseMapper<DrugdepositEntity> {

    IPage<DrugdepositVO> listPage(Page<? extends DrugdepositEntity> page, @Param(Constants.WRAPPER) Wrapper<? extends DrugdepositEntity> wrapper);
}